package com.tongshu.multiplefiles.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class TempFile {
    private Long id;
    private String fileMd5;
    private String chunkMd5;
    private Date uploadTime;
    private Integer status;
    private Integer chunkIndex;

    public TempFile(String fileMd5, String chunkMd5, Date uploadTime, Integer status, Integer chunkIndex) {
        this.fileMd5 = fileMd5;
        this.chunkMd5 = chunkMd5;
        this.uploadTime = uploadTime;
        this.status = status;
        this.chunkIndex = chunkIndex;
    }
}
